spmjs

spm@3.x

Brand new static package manager for browser.

Getting Started 󰅴 Packages

strip-ansi @3.0.1


Strip ANSI escape codes

spm install strip-ansi@3.0.1

Version: 3.0.1 ~ stable

Updated 9 years ago
Homepage https://github.com/chalk/strip-ansi
Repository git+https://github.com/chalk/strip-ansi.git
Dependencies ansi-regex@^2.0.0
Main index.js
Tarfile strip-ansi-3.0.1.tar.gz

strip-ansi Build Status

Strip ANSI escape codes

Install

$ npm install --save strip-ansi

Usage

var stripAnsi = require('strip-ansi');

stripAnsi('\u001b[4mcake\u001b[0m');
//=> 'cake'

License

MIT © Sindre Sorhus